package com.ruoyi.sys.safetytraining.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训学习对象 tb_safety_training
 * 
 * @author iuxin
 * @date 2022-05-25
 */
public class TbSafetyTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long stId;

    /** 培训标题 */
    @Excel(name = "培训标题")
    private String stTitle;

    /** 文档类型 0-视频教程  1-线下教程 */
    @Excel(name = "文档类型 0-视频教程  1-线下教程")
    private Long stType;

    /** 学习时长  单位分钟 */
    @Excel(name = "学习时长  单位分钟")
    private Long stTime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stStartDate;

    /** 学习人数 */
    @Excel(name = "学习人数")
    private Long stNopeople;

    /** 未学习人数 */
    @Excel(name = "未学习人数")
    private Long stYespeople;

    /** 0-已发布  1-已撤销 */
    @Excel(name = "0-已发布  1-已撤销")
    private Long stState;

    public void setStId(Long stId) 
    {
        this.stId = stId;
    }

    public Long getStId() 
    {
        return stId;
    }
    public void setStTitle(String stTitle) 
    {
        this.stTitle = stTitle;
    }

    public String getStTitle() 
    {
        return stTitle;
    }
    public void setStType(Long stType) 
    {
        this.stType = stType;
    }

    public Long getStType() 
    {
        return stType;
    }
    public void setStTime(Long stTime) 
    {
        this.stTime = stTime;
    }

    public Long getStTime() 
    {
        return stTime;
    }
    public void setStStartDate(Date stStartDate) 
    {
        this.stStartDate = stStartDate;
    }

    public Date getStStartDate() 
    {
        return stStartDate;
    }
    public void setStNopeople(Long stNopeople) 
    {
        this.stNopeople = stNopeople;
    }

    public Long getStNopeople() 
    {
        return stNopeople;
    }
    public void setStYespeople(Long stYespeople) 
    {
        this.stYespeople = stYespeople;
    }

    public Long getStYespeople() 
    {
        return stYespeople;
    }
    public void setStState(Long stState) 
    {
        this.stState = stState;
    }

    public Long getStState() 
    {
        return stState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stId", getStId())
            .append("stTitle", getStTitle())
            .append("stType", getStType())
            .append("stTime", getStTime())
            .append("stStartDate", getStStartDate())
            .append("stNopeople", getStNopeople())
            .append("stYespeople", getStYespeople())
            .append("stState", getStState())
            .toString();
    }
}
